<div class="form">


<?php $form = $this->beginWidget('GxActiveForm', array(
	'id' => 'logs-form',
	'enableAjaxValidation' => false,
));
?>

<?php echo $form->errorSummary($model); ?>

<table class="form-grid">
  <tr>
		<td><?php echo $form->labelEx($model,'timestamp'); ?>
</td>
		<td><?php echo $form->textField($model, 'timestamp'); ?>
</td>
  </tr>
  <tr>
		<td><?php echo $form->labelEx($model,'user'); ?>
</td>
		<td><?php echo $form->textField($model, 'user', array('maxlength' => 20)); ?>
</td>
  </tr>
  <tr>
		<td><?php echo $form->labelEx($model,'ip'); ?>
</td>
		<td><?php echo $form->textField($model, 'ip', array('maxlength' => 60)); ?>
</td>
  </tr>
  <tr>
		<td><?php echo $form->labelEx($model,'level'); ?>
</td>
		<td><?php echo $form->textField($model, 'level'); ?>
</td>
  </tr>
  <tr>
		<td><?php echo $form->labelEx($model,'message'); ?>
</td>
		<td><?php echo $form->textField($model, 'message', array('maxlength' => 255)); ?>
</td>
  </tr>
</table><!-- gris -->

<?php
echo GxHtml::submitButton(Yii::t('app', 'Save'),array('class'=>'form-button'));
$this->endWidget();
?>
</div><!-- form -->